home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.07 Jul 90 / Commando Programming ƒ / Rezscripts / CmdoReztStart.R < prev    next >
Encoding:
Text File  |  1988-07-28  |  1.3 KB  |  49 lines  |  [TEXT/MPS ]

  1. /* File CmdoReztStart.R */
  2. /* W. Powell 1988 */
  3. /* Include File to generate commando input for 
  4.  *    standard Resource ID and attributes                        */
  5.  
  6. /* This file is meant to be included in other Rez files
  7.  * This file contains 5 Commando control items                */
  8.  
  9. /* NOTE:  The cmdo dialog for resource attributes is  in 
  10.  *            include file CmdoReztAttr.R    
  11.            The cmdo dialog for redirection is in include file
  12.  *            CmdoReztRdir.R                                    */
  13.  
  14.     /* Item 1 */
  15.     NotDependent {}, RegularEntry {
  16.         "Resource ID#:",
  17.         {20,25,36,125},
  18.         {20,127,40,167},
  19.         "",    /* No default */
  20.         keepCase, "",
  21.         "Enter the resource ID number.\nUsually 128 ≤ ID ≤"
  22.         "32767  (See I.M. I-108)." },
  23.     /* Item 2 */ 
  24.     NotDependent {}, NestedDialog {
  25.         2, /* Nested dialog number */
  26.         {20,190,40,280},
  27.         "Attributes",
  28.         "Set resource attribute bits" },
  29.     /* Item 3 */
  30.     OR { {1} }, RegularEntry {
  31.         "Resource Name:",
  32.         {50,25,66,145},
  33.         {50,148,66,430},
  34.         "", /* No default */
  35.         keepCase, "-nms",
  36.         "Enter a name for the resource (optional)." },
  37.     /* Item 4 */
  38.     NotDependent {}, NestedDialog {
  39.         3,    /* Nested Dialog number */
  40.         {20,300,40,420},
  41.         "Redirection",
  42.         "Specify output redirection.\n"
  43.         "Defaults to Active window." },
  44.     /* Item 5 */
  45.     NotDependent {}, Box {
  46.         Black, {73,45,74,410} },
  47.  
  48. /* End of file CmdoReztStart.R */
  49.